package org.ysh.demo.vo;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class ApiResult {

    private Boolean success;

    private String message;

    public static ApiResult success(String message){
        ApiResult result = new ApiResult();
        result.success = true;
        result.message = message;
        return result;
    }
}
